<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{$img_url}}index.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="{{$js_url}}function.js"></script>
<div id="mainer">
<table class="table1"><tr>
<td align="left">正在查看 －{{$headline}} <i class="tips">{{$showtips}}</i></td>
<td align="right" width="200"><a href="{{$filename}}">添加推荐类别</a> </td>
</tr></table>
<table class="table2">
<tr>
	<th width="40">序号</th>
	<th width="60">引用ID</th>
    <th>类别名</th>
    <th width="100">删除</th>
</tr>
{{section name=a loop=$record}}
{{if $record[a].selected}}
<tr title="{{$record[a].CAdesc}}" class="selected">
    <td class="center">{{$record[a].num}}</td>
    <td class="center">{{$record[a].CAid}}</td>
	<td>{{$record[a].CAcataname}}</td>
    <td class="center"><a onclick="checkclick('确实要删除改记录吗?')" href="{{$filename}}?did={{$record[a].CAid}}">删除</a></td>
</tr>
{{else}}
<tr title="{{$record[a].CAdesc}}">
    <td class="center">{{$record[a].num}}</td>
    <td class="center">{{$record[a].CAid}}</td>
	<td><a href="{{$filename}}?id={{$record[a].CAid}}">{{$record[a].CAcataname}}</a></td>
    <td class="center"><a onclick="checkclick('确实要删除改记录吗?')" href="{{$filename}}?did={{$record[a].CAid}}">删除</a></td>
</tr>
{{/if}}
{{/section}}
</table>
<form method="post" action="">
<input type="hidden" name="CAtype" value="0" />
<table class="table3">
{{if $CAid}}
<tr>
	<th>修改类别的ID：</th>
    <td><input class="input1" disabled="disabled" value="{{$CAid}}" />
    	<input type="hidden" name="CAid" value="{{$CAid}}" />
    </td>
</tr>
{{/if}}
<tr>
	<th>类别名称：</th>
    <td><input class="input5" name="CAcataname" value="{{$CAcataname}}" />
    	<span class="redpad">{{$e_CAcataname}}</span>
    </td>
</tr>
<tr>
	<th>类别描述：</th>
    <td><textarea name="CAdesc" rows="5" cols="60">{{$CAdesc}}</textarea></td>
</tr>
<tr><th></th><td>
	<input type="submit" value="提交" />
	<input type="button" value="返回" onclick="history.go(-1)" />
</td></tr>
</table>
</form>
{{include file="footer.html"}}
</div>